package com.lvmama.pangolin.task;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.lvmama.pangolin.service.PreviousDataService;
//@Component
//@EnableScheduling
public class PreviousDataTask {
//	@Value("#{'${limited.task.number}'}")
	private int limitTaskNum;
	@Autowired
    private PreviousDataService previousDataService;
	
//	@Scheduled(cron = "${limited.task.cron}")
    public void previousDataService(){
//		previousDataService.deletePreviousData(limitTaskNum);
		return;
    }
    
}